package com.helloandroid.uitween.single

import com.daidai.tools.G
import com.helloandroid.uitween.UITween

class Delay(val t: Float) : UITween() {
    var elapseTime = 0f

    override fun execute(dt: Float) {
        elapseTime += dt
        if (elapseTime >= t) {
            end = true
        }
    }

    override fun clone(): UITween {
        return Delay(t)
    }
}

